package org.nepu.srr.domain.equipmentdata;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.nepu.srr.domain.equipmentdata.converter.CommonInputConverter;
import org.nepu.srr.domain.equipmentdata.vo.CommonInput;

import javax.persistence.Column;
import javax.persistence.Convert;

@Data
@ApiModel(value = "救生设备证书参数")
public class LifesavingCertificateParams {

    @ApiModelProperty("救生艇、吊艇架、吊钩")
    @Convert(converter = CommonInputConverter.class)
    @Column(name = "lifesaving_equipment")
    CommonInput lifesavingEquipment;

    @ApiModelProperty("救生筏")
    @Convert(converter = CommonInputConverter.class)
    @Column(name = "lifesaving_canoe")
    CommonInput lifesavingCanoe;

    @ApiModelProperty("静水压力释放器")
    @Convert(converter = CommonInputConverter.class)
    @Column(name = "pressure_release_device")
    CommonInput pressureReleaseDevice;

    @ApiModelProperty("救生圈")
    @Convert(converter = CommonInputConverter.class)
    @Column(name = "lifesaving_circle")
    CommonInput lifesavingCircle;

    @ApiModelProperty("救生衣")
    @Convert(converter = CommonInputConverter.class)
    @Column(name = "lifesaving_clothing")
    CommonInput lifesavingClothing;

    @ApiModelProperty("烟雾信号")
    @Convert(converter = CommonInputConverter.class)
    @Column(name = "smog_signal")
    CommonInput smogSignal;

    @ApiModelProperty("示位标")
    @Convert(converter = CommonInputConverter.class)
    @Column(name = "flag_pole")
    CommonInput flagPole;

    @ApiModelProperty("自亮浮灯")
    @Convert(converter = CommonInputConverter.class)
    @Column(name = "self_illumination_lamp")
    CommonInput selfIlluminationLamp;

    @ApiModelProperty("救生软梯")
    @Convert(converter = CommonInputConverter.class)
    @Column(name = "lifesaving_stair")
    CommonInput lifesavingStair;

    @ApiModelProperty("救生艇空气瓶")
    @Convert(converter = CommonInputConverter.class)
    @Column(name = "lifesaving_tank")
    CommonInput lifesavingTank;

    @ApiModelProperty("抛绳器")
    @Convert(converter = CommonInputConverter.class)
    @Column(name = "throw_rings")
    CommonInput throwRings;
}
